package dk.pun.dums.client.view;

import java.util.List;

import com.google.gwt.user.client.ui.Widget;

import dk.pun.dums.shared.character.CharacterData;
import dk.pun.dums.shared.character.ExperiencePoints;

public interface ViewCharacterView {

	interface Presenter {
		void onCharacterDataUpdated(CharacterData characterData);
		void onAddExperience(CharacterData characterData, ExperiencePoints experience);
	}

	void setCharacterData(CharacterData characterData);
	void setExperience(List<ExperiencePoints> experiences);
	void addExperience(ExperiencePoints experience);

	void setPresenter(Presenter presenter);

	Widget asWidget();
}
